﻿using CQIE.TES.IDAL;
using CQIE.TES.IService;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CQIE.TES.Model;

namespace CQIE.TES.Service
{
    public class AdminService:IAdminService
    {
        private readonly IAdminDAL _dal;
        public AdminService(IAdminDAL dal)
        {
            this._dal = dal;
        }

        public Admin Login(string account, string passWord)
        {
            return _dal.Login(account, passWord);
        }
    }
}
